package com.chinaunicom.common.exception;

import lombok.Getter;

/**
 * @author guomenghuai
 * @date 2024/1/4
 * @Description
 */
@Getter
public enum ResponseCode {

    SUCCESS("200", "请求成功"),
    UNKNOW_ERROR("400", "未知错误"),
    SEND_MQ_FAILED("105073", "发送MQ消息失败"),
    CONSUME_MQ_FAILED("105074", "消费MQ消息失败"),

    SEND_TRANSACTION_MQ_FAILED("105097", "发送MQ事务消息失败"),
    ;

    private String code;

    private String message;

    ResponseCode(String code, String message) {
        this.code = code;
        this.message = message;
    }
}
